#map {
  position: absolute;
  top: 100px;
  bottom: 0;
  width: 100%;
}
/* 扇形标记容器 */
.sector-container {
  position: absolute;
  width: 100px;
  height: 100px;
  cursor: default;
  transform-origin: center center; /* 关键修复：设置旋转中心为中心点 */
  left: -50px; /* 中心定位补偿 */
  top: -50px; /* 中心定位补偿 */
}

/* SVG区域 */
.sector-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: bounding-box;
}

/* 扇形路径 */
.sector-path {
  fill: rgba(255, 150, 0, 0.8);
  stroke: #000;
  stroke-width: 0.5;
  cursor: move;
}

/* 移动手柄 */
.camera-point {
  fill: #4a90e2;
  stroke: #fff;
  stroke-width: 1;
  cursor: move;
  r: 6;
}

/* 角度手柄 */
.angle-handle {
  fill: #fff;
  stroke: #007bff;
  stroke-width: 1;
  cursor: pointer;
  r: 4;
}

/* 旋转手柄 */
.rotate-handle {
  fill: #28a745;
  stroke: #000;
  stroke-width: 1;
  cursor: grab;
  r: 6;
}

/* 中心点 */
.center-point {
  fill: #4a90e2;
  stroke: #fff;
  stroke-width: 1;
  cursor: move;
  r: 6;
}

/* 状态提示 */
.status {
  position: absolute;
  top: 10px;
  left: 300px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 15px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.handle-type {
  font-weight: bold;
  color: #d35400;
}
